package cn.bq;

import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;

public class TestMain {
	public static void main(String[] srgs){		
		BlockingQueue<Food> queue=new ArrayBlockingQueue<Food>(5);
		Consumer c=new Consumer(queue);
		Producer p=new Producer(queue);
        c.start();p.start();
	}	
}
